package br.ita.comp.ces22.quiz.email.exception;

/**
 * Base class of all exceptions of this module.
 * 
 * @author Diego
 */
public class EmailAdapterException extends RuntimeException {

    private static final long serialVersionUID = 4715376285098048853L;

    /**
     * Default constructor
     */
    public EmailAdapterException() {
        super();
    }
    
    /**
     * Constructor with a message
     * @param message the detail message of the exception
     */
    public EmailAdapterException(String message) {
        super(message);
    }

    /**
     * Constructor with a cause
     * @param cause the cause of the exception
     */
    public EmailAdapterException(Throwable cause) {
        super(cause);
    }

    /**
     * Constructor with a message and a cause
     * @param message the detail message
     * @param cause the cause of the exception
     */
    public EmailAdapterException(String message, Throwable cause) {
        super(message, cause);
    }
}